<#include "/common/_layout.html"/>
<#include "/common/_search_form.html"/>
<@layout>
<h1>表管理&nbsp;&nbsp;
<a href="${BASE_PATH!}/table/add">创建表</a>
</h1>
<@search_form actionUrl="${BASE_PATH!}/table/page">
隶属项目：
<select name="project_id" id="project_id">
</select>
表名：
<input type="text" name="table_name"/>
<script type="text/javascript">
var initSel_project_id = function(callback){
	SelectTool.initSelectData({
		elId:"project_id",
		url:"${BASE_PATH!}/project/listAll",
		postData:{},
		valueName:"id",
		textName:"project_name",
		defaultValue:"${(project_id)!}",
		haveAll:true,
		callback:callback
	});
}
initSel_project_id(function(){
	initSearch(1);
});
</script>
</@search_form>
</@layout>